package com.whynot.frame.spring.mybatis.mapper;

import java.util.List;
import java.util.Map;

import com.whynot.frame.spring.mybatis.entities.User;
import org.apache.ibatis.annotations.Select;

import com.whynot.frame.spring.mybatis.entities.User;

public interface UserMapper {

	int addUser(User user);
	
	List<User> findUserWhithAddress(Integer id);
	
	List<User> findUserByCourseId(Integer id);
	
	List<User> searchUserByMap(Map<String,Object> map);
	
}
